import './styles/tailwind.css';
import "frontend/src/wailsjs/runtime";

let modules = import.meta.globEager("./utils/wails/**.ts")
console.log(modules)

import { createApp }   from 'vue'
import App             from './App.vue'

// 通用字体
import 'vfonts/Lato.css'
// 等宽字体
import 'vfonts/FiraCode.css'
import {setUpMarkdown} from "./plugins/markdown";
import {setupStore}    from "./store";
import {setupNaive}    from "./plugins/naive";
import router          from "./router";

const app = createApp(App);

// 注册全局常用的 naive-ui 组件
setupNaive(app);
// 挂载状态管理
setupStore(app);
// markdown 插件
setUpMarkdown(app);

app.use(router)

app.mount('#app');
